// index.js
Page({
    data: {
        message: "李银河",
        counter: 0,
        movies: ["大话西游","星际穿越","少年派"]
    },

    changeMessage: function() {
        this.setData({message: "Hello"})
    },

    handlerIncrement: function() {
        this.setData({counter: this.data.counter + 1})
    },

    handlerDecrement: function() {
        this.setData({counter: this.data.counter - 1})
    }


})
